package com.copa.gameStore.application;

import com.copa.gameStore.domain.GameNews;
import com.copa.gameStore.dto.GameNewsSearchDto;
import com.copa.gameStore.vo.GameNewsDetailVo;
import com.copa.gameStore.vo.ResponseVo;

import java.time.LocalDate;
import java.util.List;
import java.util.TreeMap;

/**
 * @author copa
 * @createDate 2022-09-25 21:28
 * @function
 */
public interface GameNewsApplicationService {

    void gameNewsTask();

    ResponseVo<GameNewsDetailVo> get(Long id);

    ResponseVo<TreeMap<LocalDate,List<GameNews>>> getByYearMonth(GameNewsSearchDto gameNewsSearchDto);
}
